<%= form_tag update_multiple_admin_pictures_path(search_filter_params.merge(size: @size.presence)) do %>
  <% @pictures.pluck(:id).each do |id| %>
  <%= hidden_field_tag "picture_ids[]", id %>
  <% end %>

  <%= render_message do %>
    <%= Alchemy.t('You are about to edit many pictures at once') % {length: @pictures.size} %>
  <% end %>

  <div class="input text">
    <%= label_tag :pictures_name, Alchemy.t('Name'), class: 'control-label' %>
    <%= text_field_tag :pictures_name %>
  </div>

  <%= render Alchemy::Admin::TagsAutocomplete.new(additional_class: "input") do %>
    <%= label_tag :pictures_tag_list, Alchemy.t(:tags), class: 'control-label' %>
    <%= text_field_tag :pictures_tag_list, @tags %>
    <small class="hint"><%= Alchemy.t('Please seperate the tags with commata') %></small>
  <% end %>

  <div class="submit">
    <%= button_tag Alchemy.t(:save), name: nil, class: 'button' %>
  </div>
<% end %>
